import service from "@/utils/request"

import LoginWork from "@/utils/LoginWork"

// 主页侧边栏数据
export const HomeLeftDate = (parms:any) => {
    return service.post<any,any>(`/bioDeptWrok/ProdCollect/tempBack`,parms)
}

// 右侧表格
export const RightTable = (parms:any) => {
    return service.post<any,any>(`/bioDeptWrok/ProdCollect/tempQuery`,parms)
}

// 明细查询
export const detialListQuery = (parms:any) => {
    return service.post<any,any>(`/bioDeptWrok/ProdCollect/detailQuery`,parms)
}

// 明细删除
export const deleteDetial = (parms:any) => {
    return LoginWork.put<any,any>(`/bioDeptWrok/ProdCollect/detailDelete`,parms)
}

// 出货新增
export const ShipmentAdditions = (parms:any) => {
    return LoginWork.post<any,any>(`/bioDeptWrok/ProdCollect/outAdd`,parms)

}

// 修改
export const save = (parms:any) => {
    return LoginWork.post<any,any>(`/bioDeptWrok/ProdCollect/update`,parms)
}

// 主页查询
export const homepageQuery = (parms:any) => {
    return service.post<any,any>(`/bioDeptWrok/ProdCollect/stats`,parms)
}